package com.ruoyi.car.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务字典管理对象 t_dict_data
 * 
 * @author yby
 * @date 2025-09-02
 */
public class DictData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 字典项ID */
    private Long id;

    /** 字典类型（order_status=订单状态，car_type=车辆类型） */
    @Excel(name = "字典类型", readConverterExp = "o=rder_status=订单状态，car_type=车辆类型")
    private String dictType;

    /** 显示值（如“待预订”“轿车”） */
    @Excel(name = "显示值", readConverterExp = "如=“待预订”“轿车”")
    private String dictLabel;

    /** 实际值（如“1”“01”） */
    @Excel(name = "实际值", readConverterExp = "如=“1”“01”")
    private String dictValue;

    /** 状态：0-启用，1-禁用 */
    @Excel(name = "状态：0-启用，1-禁用")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDictType(String dictType) 
    {
        this.dictType = dictType;
    }

    public String getDictType() 
    {
        return dictType;
    }

    public void setDictLabel(String dictLabel) 
    {
        this.dictLabel = dictLabel;
    }

    public String getDictLabel() 
    {
        return dictLabel;
    }

    public void setDictValue(String dictValue) 
    {
        this.dictValue = dictValue;
    }

    public String getDictValue() 
    {
        return dictValue;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dictType", getDictType())
            .append("dictLabel", getDictLabel())
            .append("dictValue", getDictValue())
            .append("status", getStatus())
            .toString();
    }
}
